package com.sawen.houserent.Mqconfig;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class mqRecieve {
    @RabbitListener(queues = "queue1")
    public void processC(String str){
        System.out.println("Receive:"+str);
    }
}
